<template>
        
      <!-- 头部导航 -->
      <el-container class="header1">
        <el-header class="el-header">
          <img class="my-log" src="../assets/imgs/download.png" alt="" />
          <el-menu class="my-title" mode="horizontal" default-active="1">
           <el-menu-item class="item-color" index="1"> <router-link to="/">首页</router-link></el-menu-item>
            <el-submenu class="item-color" index="3">
              <template class="item-color" slot="title">
                宠物指南</template>
                <router-link to="/guide"><el-menu-item class="item-bg">宠物指南</el-menu-item></router-link>
              <hr />
              <router-link to="/about"><el-menu-item class="item-bg">宠物学堂</el-menu-item></router-link>
              
            </el-submenu>
            <el-menu-item class="item-color" index="2"><router-link to="/download">下载APP</router-link></el-menu-item>
            <el-menu-item
              class="item-color"
              index="4"
              style="background-color: #fbc02d; color: #000 !important"
              ><router-link to="/login">登录 / 注册</router-link></el-menu-item
            >
          </el-menu>
        </el-header>
      </el-container>
    
</template>
<script>
export default {
}
</script>
<style  lang="scss">
  .header1 {
    padding: 10px 20px;
    .my-table1 {
      display: flex;
      width: 1000px;
      margin: auto;
      // 预约按钮
      .yuyue {
        font-size: 24px;
        width: 280px;
        height: 135px;
        background-color: #fbc02d;
        color: #000000c7;
        margin-top: 15px;
        margin-left: 20px;
        border-radius: 5px;
        text-align: center;
        line-height: 135px;
      }
      // 时间选择器

      .my-time {
        .input1 {
          padding-right: 255px;
          background-color: #ffffffe0;
          width: 700px;
          height: 60px;
          border: none;
          border-radius: 5px;
          margin-top: 15px;
        }
        text-align: center;
        height: 60px;
        line-height: 60px;
        background-color: #ffffffe0;
        border-radius: 5px;
        width: 700px;
        margin-top: 15px;
      }
    }
    // 信息表单
    .my-table {
      Input {
        border: none;
        font-size: 16px;
        color: #0f0202;
      }
      #example {
        line-height: 60px;
        height: 60px;
        align-items: center;
      }
      .select {
        width: 220px;
        height: 40px;
        border: 0px;
      }
      margin: auto;
      font-size: 18px;
      width: 1000px;
      align-items: center;
      justify-content: center;
      display: flex;
      // margin-top: 380px;
      background-color: #fff;
      border-radius: 5px;
    }

    el-container {
      width: 100%;
    }
    .el-header {
      padding: 15px;
      width: 100%;
      // margin: auto;
    }
    .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
    .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
    .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
      background-color: rgb(48, 118, 199) !important;
    }
    .my-title {
      float: right;
    }
    .my-log {
      float: left;
      margin-top: 3px;
    }
    .item-color,
    .el-submenu__title {
      text-align: center;
      width: 200px;
      color: rgb(250, 250, 250) !important;
      font-size: 21px !important;
    }
    .el-menu.el-menu--horizontal {
      border: none;
    }
    .el-menu {
      background-color: rgba($color: #000000, $alpha: 0);
    }
  }
  
  .el-menu--popup {
    z-index: 100;
    border: none;
    padding: 5px 0;
    border-radius: 2px;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
    // background-color: rgb(48, 118, 199);
  } 

// .item-bg:hover{
//   color: rgb(0, 132, 255) !important;
// }
.item-bg{
    // line-height: 40px;
    // height: 40px;
    font-size: 20px !important;
    text-align: center;
    background-color: rgb(255, 255, 255) !important;
  }
</style>